
{extend name='index@template/base'}{/extend}
{block name='style'}
<link rel="stylesheet" href="__STATIC__/plugins/webuploader/webuploader.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/demo/style.css" />
{/block}
{block name='script'}

{/block}
{block name='content'}
<div id="wrapper">
    <div id="container">
        <!--头部，相册选择和格式选择-->

        <div id="uploader">
            <div class="queueList">
                <div id="dndArea" class="placeholder">
                    <div id="filePicker"></div>
                    <p>或将照片拖到这里</p>
                </div>
            </div>
            <div class="statusBar" style="display:none;">
                <div class="progress">
                    <span class="text">0%</span>
                    <span class="percentage"></span>
                </div><div class="info"></div>
                <div class="btns">
                    <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
{block name='script_extra'}
<script src="__STATIC__/plugins/jquery/jQuery-2.1.4.min.js"></script>
<script src="__STATIC__/plugins/webuploader/webuploader.min.js"></script>
<script type="text/javascript" src="__STATIC__/plugins/webuploader/demo/upload.js"></script>
<script>
    var ids="{$ids}";
    var parent_ele="{$parent_ele}";
    var limit=("{$parent_ele}"=="simple"?1:300);
</script>
{/block}